// 自动生成模板MilkCoupon
package autocode

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"time"
)

// MilkCoupon 结构体
// 如果含有time.Time 请自行import time包
type MilkCoupon struct {
	global.GVA_MODEL
	CreateAt  *time.Time `json:"createAt" form:"createAt" gorm:"column:create_at;comment:创建时间;"`
	IsDelete  *int       `json:"isDelete" form:"isDelete" gorm:"column:is_delete;comment:是否有效（0-有效；1-无效）;size:10;"`
	MilkKey   string     `json:"milkKey" form:"milkKey" gorm:"column:milk_key;comment:naijuankey;size:255;"`
	MilkValue string     `json:"milkValue" form:"milkValue" gorm:"column:milk_value;comment:奶劵秘钥;size:255;"`
}

// TableName MilkCoupon 表名
func (MilkCoupon) TableName() string {
	return "milk_coupon"
}
